package br.com.escolaespacocrianca.fineec.model;

import java.util.Date;

import javax.persistence.Entity;

import br.com.escolaespacocrianca.fineec.model.enums.DayOfPayment;

@Entity
public class Plot extends BaseEntity{

	private Double price;
	private Month month;
	private Date confirmationDate;
	private DayOfPayment dayOfPayment;
	private boolean isDone;
	private boolean isExempt;
	
	public Month getMonth() {
		return month;
	}

	public void setMonth(Month month) {
		this.month = month;
	}
	
	public boolean isExempt() {
		return isExempt;
	}

	public void setExempt(boolean isExempt) {
		this.isExempt = isExempt;
	}

	public String getExemptDescription() {
		return exemptDescription;
	}

	public void setExemptDescription(String exemptDescription) {
		this.exemptDescription = exemptDescription;
	}

	private String exemptDescription;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public boolean isDone() {
		return isDone;
	}

	public void setDone(boolean isDone) {
		this.isDone = isDone;
	}
	
	public Date getConfirmationDate() {
		return confirmationDate;
	}

	public void setConfirmationDate(Date confirmationDate) {
		this.confirmationDate = confirmationDate;
	}

	public DayOfPayment getDayOfPayment() {
		return dayOfPayment;
	}

	public void setDayOfPayment(DayOfPayment dayOfPayment) {
		this.dayOfPayment = dayOfPayment;
	}
}
